package cn.b.sky.mes.mm.model;

import cn.b.sky.common.model.ImeCommon;
import org.apache.commons.lang3.StringUtils;

/**
 * 
 * <strong>Title : PullStrategy.java<br></strong>
 * <strong>Package : cn.b.sky.mes.mm.model<br></strong>
 * <strong>Description : </strong>拉动策略<br> 
 * <strong>Create on : 2016-9-10 下午1:30:01<br></strong>
 * <p>
 * @author JinQuan.Fu<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人|修改日期|修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public class PullStrategy extends ImeCommon {

  /**
   * 拉动策略编号
   */
  private String pullStrategyCode;

  /**
   * 拉动策略描述
   */
  private String pullStrategyText;
  
  /**
   * 需求触发策略编号
   */
  private String requirementTriggerModeCode;
  
  /**
   * 需求触发策略描述
   */
  private String requirementTriggerModeText;
  
  /**
   * 配送触发策略编号
   */
  private String distributionTriggerModeCode;

  /**
   * 配送触发策略描述
   */
  private String distributionTriggerModeText;
  
  /**
   * 锁定标记
   */
  private Integer lockFlag = 0;

  public String getPullStrategyCode() {
    return StringUtils.upperCase(pullStrategyCode);
  }

  public void setPullStrategyCode(String pullStrategyCode) {
    this.pullStrategyCode = pullStrategyCode;
  }

  public String getPullStrategyText() {
    return pullStrategyText;
  }

  public void setPullStrategyText(String pullStrategyText) {
    this.pullStrategyText = pullStrategyText;
  }

  public String getRequirementTriggerModeCode() {
    return requirementTriggerModeCode;
  }

  public void setRequirementTriggerModeCode(String requirementTriggerModeCode) {
    this.requirementTriggerModeCode = requirementTriggerModeCode;
  }

  public String getDistributionTriggerModeCode() {
    return distributionTriggerModeCode;
  }

  public void setDistributionTriggerModeCode(String distributionTriggerModeCode) {
    this.distributionTriggerModeCode = distributionTriggerModeCode;
  }

  public Integer getLockFlag() {
    return lockFlag;
  }

  public void setLockFlag(Integer lockFlag) {
    this.lockFlag = lockFlag;
  }

  public String getRequirementTriggerModeText() {
    return requirementTriggerModeText;
  }

  public void setRequirementTriggerModeText(String requirementTriggerModeText) {
    this.requirementTriggerModeText = requirementTriggerModeText;
  }

  public String getDistributionTriggerModeText() {
    return distributionTriggerModeText;
  }

  public void setDistributionTriggerModeText(String distributionTriggerModeText) {
    this.distributionTriggerModeText = distributionTriggerModeText;
  }
  
}
